<?php

/**
 * @author 
 * @copyright 2008
 */

require "phprd/utils/utils.php";
require "phprd/template/template.php";

$install=new installation;

$tmpl=new template;
$template_path="site/install/";
$tmpl->set_template_path($template_path);
$tmpl->get_page("install");

$pagevar=array();

$steps=array("Start install","Check requirements","Database information","Install","Finish");
$pagevar["logo"]='';
$pagevar["description"]='Installation of your site';
$pagevar["progress"]=$tmpl->generate_steps($steps,1,"*");

$text="<b>Installation instruction</b><br><br>";

$formfields=array("field1"=>"value1");
$form=$tmpl->generate_form($formfields,"index.php","formname","POST");

$pagevar["text"]='Text'.$form;

$tmpl->assign_var($pagevar);
$page=$tmpl->finalize_page();

print $page;

?>